#ifndef WORKERTHREAD_H
#define WORKERTHREAD_H

#include <QObject>
#include<QThread>
class workerthread : public QThread
{
    Q_OBJECT
public:
    explicit workerthread(QObject *parent = nullptr);
    ~workerthread();
public slots:
    void receiveSlot(bool flags1);
protected:
    //线程处理函数
    void run();
private:
    bool flags;


signals:

};

#endif // WORKERTHREAD_H
